home *** CD-ROM | disk | FTP | other *** search
- import java.awt.Color;
- import java.awt.Font;
- import java.awt.Graphics;
- import java.awt.Rectangle;
- import java.io.IOException;
-
- public class c21 extends c11 {
- // $FF: renamed from: IT int
- protected int field_0;
- // $FF: renamed from: MA c10
- public c10 field_1;
- // $FF: renamed from: Fx java.lang.String
- protected String field_2;
- // $FF: renamed from: LO short
- protected short field_3;
- // $FF: renamed from: HQ java.awt.Color
- protected Color field_4;
- // $FF: renamed from: Lk byte
- protected byte field_5;
- // $FF: renamed from: Nd byte
- protected byte field_6;
- // $FF: renamed from: Nx byte
- protected byte field_7;
- // $FF: renamed from: NP java.awt.Color
- protected Color field_8;
- // $FF: renamed from: HZ int
- public int field_9;
- // $FF: renamed from: FT boolean
- public boolean field_10;
- // $FF: renamed from: FK c17
- c17 field_11;
- // $FF: renamed from: It c11
- c11 field_12;
- // $FF: renamed from: Nv c11
- c11 field_13;
-
- // $FF: renamed from: NI () java.lang.String
- public String method_0() {
- return this.field_2;
- }
-
- // $FF: renamed from: Ib () void
- public void method_1() {
- super.Ib();
- if (this.field_12 != null) {
- this.field_12.Ib();
- }
-
- if (this.field_13 != null) {
- this.field_13.Ib();
- }
-
- super.JG = 0;
- super.IF = 0;
- }
-
- // $FF: renamed from: MO (boolean, int) int
- public int method_2(boolean var1, int var2) {
- if (super.JT.Mw.HM < 500000) {
- return 0;
- } else if (this.field_6 == 0) {
- return 0;
- } else {
- int var3 = (4 - this.field_7) * 250;
- byte var4;
- if (this.field_6 == 1) {
- var4 = (byte)((int)(Math.random() * (double)11.0F + (double)2.0F));
- } else {
- var4 = (byte)(this.field_6 & 15);
- }
-
- c11 var5 = new c11();
- super.LZ = super.JT.Mw.LZ;
- super.LX = super.JT.Mw.LX;
- if (var4 < 9) {
- Rectangle[] var8 = new Rectangle[]{new Rectangle(0, 0, 0, super.LX), new Rectangle(super.LZ, 0, 0, super.LX), new Rectangle(0, 0, super.LZ, 0), new Rectangle(0, super.LX, super.LZ, super.LX), new Rectangle(0, 0, super.LZ / 2, super.LX), new Rectangle(super.LZ / 2, 0, super.LZ / 2, super.LX), new Rectangle(0, 0, super.LZ, super.LX / 2), new Rectangle(0, super.LX / 2, super.LZ, super.LX / 2), new Rectangle(0, 0, super.LZ, super.LX), null};
- int[] var9 = new int[10];
- int[] var10 = new int[10];
- int var11 = 0;
- switch (var4) {
- case 2:
- var9[var11] = 1;
- var10[var11++] = 8;
- break;
- case 3:
- var9[var11] = 0;
- var10[var11++] = 8;
- break;
- case 4:
- var9[var11] = 3;
- var10[var11++] = 8;
- break;
- case 5:
- var9[var11] = 2;
- var10[var11++] = 8;
- break;
- case 6:
- case 8:
- var9[var11] = 2;
- var10[var11++] = 6;
- var9[var11] = 3;
- var10[var11++] = 7;
- if (var4 == 6) {
- break;
- }
- case 7:
- var9[var11] = 0;
- var10[var11++] = 4;
- var9[var11] = 1;
- var10[var11++] = 5;
- }
-
- for(int var12 = 0; var12 < var11; ++var12) {
- c18 var6;
- c12 var7;
- if (var1) {
- var6 = new c18(this.field_8, var8[var9[var12]]);
- var7 = new c12(var6, var2, var2 + var3, var8[var10[var12]], (c15)null);
- } else {
- var6 = new c18(this.field_8, var8[var10[var12]]);
- var7 = new c12(var6, var2, var3, var8[var9[var12]], (c15)null);
- }
-
- ((c24)var6).JU(6, var7);
- ((c01)var5).Jv(var6);
- }
- } else {
- Rectangle[] var15 = new Rectangle[10];
- var15[0] = new Rectangle(-super.LZ, 0, super.LZ, super.LX);
- var15[1] = new Rectangle(super.LZ, 0, super.LZ, super.LX);
- var15[2] = new Rectangle(0, -super.LX, super.LZ, super.LX);
- var15[3] = new Rectangle(0, super.LX, super.LZ, super.LX);
- c18 var13 = new c18(this.field_8, new Rectangle(-10000, -10000, 1, 1));
- ((c01)var5).Jv(var13);
- c12 var14;
- if (var1) {
- var14 = new c12(this, var2, var2 + var3, var15[var4 - 9], (c15)null);
- } else {
- super.JG = (short)var15[var4 - 9].x;
- super.IF = (short)var15[var4 - 9].y;
- var14 = new c12(this, var2, var3, new Rectangle(0, 0, super.LZ, super.LX), (c15)null);
- }
-
- ((c24)var13).JU(6, var14);
- }
-
- ((c01)var5).Ir(super.JT);
- if (var1) {
- this.field_13 = var5;
- var3 += 100;
- } else {
- this.field_12 = var5;
- }
-
- return var3;
- }
- }
-
- // $FF: renamed from: Nq (int) void
- public void method_3(int var1) {
- if (this.field_12 != null) {
- this.field_12.Nq(var1);
- }
-
- if (this.field_13 != null) {
- this.field_13.Nq(var1);
- }
-
- super.Nq(var1);
- }
-
- // $FF: renamed from: GU (int) int
- public int method_4(int var1) {
- return var1 - this.method_2(false, var1);
- }
-
- // $FF: renamed from: JL (java.awt.Graphics) void
- public void method_5(Graphics var1) {
- if (this.field_11.LU != null) {
- this.field_11.LU.JL(var1);
- }
-
- super.JL(var1);
- c11 var2 = this.field_11.Jc;
- if (var2 != null) {
- if (super.JT.Nk()) {
- c00 var10000 = var2.Ja[2];
- var10000.Kw = (short)(var10000.Kw - (super.JT.Ka - super.JT.Ig) / 15);
- if (var2.Ja[2].Kw + var2.Ja[2].LZ <= 0) {
- var2.Ja[2].Kw = super.JT.Mw.LZ;
- int var3 = (int)(Math.random() * (double)10.0F);
- String var4 = super.JT.Mo[var3] + c03.Mg;
- Font var5 = new Font("Helvetica", 1, 18);
- int var6 = super.JT.Ot(var4, var5);
- c27 var7 = new c27(var4, var5, Color.white, super.JT.Mw.LZ, (short)(1 + var2.Ja[1].IF), (short)var6, (short)18);
- ((c24)var7).Ir(super.JT);
- var2.Ja[2] = var7;
- ((c01)var2).Ib();
- }
- }
-
- ((c01)var2).JL(var1);
- }
-
- if (this.field_12 != null) {
- this.field_12.JL(var1);
- }
-
- if (this.field_13 != null) {
- this.field_13.JL(var1);
- }
-
- }
-
- // $FF: renamed from: Kk (boolean, byte) boolean
- public boolean method_6(boolean var1, byte var2) {
- boolean var3 = false;
- if (this.field_11.Jc != null) {
- var3 = this.field_11.Jc.Kk(var1, var2);
- }
-
- if (var2 == 6) {
- var3 = super.Kk(var1, var2);
- }
-
- if (this.field_11.LU != null && (var2 == 6 || !var3)) {
- var3 = this.field_11.LU.Kk(var1, var2);
- }
-
- if (this.field_12 != null) {
- this.field_12.Kk(var1, var2);
- }
-
- if (this.field_13 != null) {
- this.field_13.Kk(var1, var2);
- }
-
- return var3;
- }
-
- // $FF: renamed from: Ls () short
- public short method_7() {
- return this.field_3;
- }
-
- // $FF: renamed from: IP () java.awt.Color
- public Color method_8() {
- return this.field_4;
- }
-
- // $FF: renamed from: NM () byte
- public byte method_9() {
- return this.field_5;
- }
-
- // $FF: renamed from: MW () int
- public int method_10() {
- int var1 = super.MJ;
- if (var1 != Integer.MAX_VALUE) {
- var1 += this.method_2(true, var1);
- }
-
- return var1;
- }
-
- public c21() {
- this.field_4 = Color.white;
- this.field_10 = false;
- }
-
- // $FF: renamed from: Ko (c17) void
- public void method_11(c17 var1) {
- this.field_11 = var1;
- }
-
- // $FF: renamed from: Lf (c14) java.lang.Object
- public Object method_12(c14 var1) throws IOException {
- super.Lf(var1);
- this.field_3 = var1.FS();
- this.field_2 = var1.Mr();
- this.field_4 = var1.FX();
- this.field_5 = var1.Nb();
- this.field_6 = var1.Nb();
- this.field_7 = var1.Nb();
- this.field_8 = var1.FX();
- this.field_11 = (c17)var1.Lf();
- this.field_1 = (c10)var1.Lf();
- super.NR = 32000;
- super.NF = 32000;
- return this;
- }
-
- // $FF: renamed from: NY (int) c00
- public c00 method_13(int var1) {
- return var1 < this.field_0 ? super.Ja[var1] : null;
- }
- }
-